home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 76 / XENIATGM66.iso / Indiana Jones / Indiana Jones.exe / RESOURCE / PREVIEW.GOB / cog_inf_johthing.cog < prev    next >
Text File  |  1999-11-15  |  1KB  |  66 lines

  1. # Jones 3D Cog Script
  2. #
  3. # nub_Jewel.cog
  4. #
  5. # [TL]
  6. #
  7. # (C) 1999 LucasArts Entertainment Co. All Rights Reserved
  8. #
  9. # ========================================================================================
  10. symbols
  11.  
  12. message        startup
  13. message        entered
  14. message        exited
  15.  
  16. thing        player        local
  17. thing        plasma
  18.  
  19. thing        padthing    linkid=3
  20. surface     upsurf0     linkid=3
  21. surface     upsurf1     linkid=3
  22. surface     upsurf2     linkid=3
  23. surface     upsurf3     linkid=3
  24. surface     upsurf4     linkid=3
  25. surface     upsurf5     linkid=3
  26. surface     upsurf6     linkid=3
  27. surface     upsurf7     linkid=3
  28. surface     upsurf8     linkid=3
  29.  
  30. end
  31.  
  32. # ========================================================================================
  33. code
  34.  
  35. startup:
  36.  
  37.     player = GetLocalPlayerThing();
  38.  
  39. return;
  40.  
  41. # ........................................................................................
  42. entered:
  43.  
  44.     if ((GetSenderID() == 3) && (GetSourceRef() == player)) 
  45.     {
  46.         //print("Jewel is TRUE...");
  47.         JewelFlyingStatus(1, plasma);
  48.     }
  49.     
  50. return;
  51.  
  52. # ........................................................................................
  53. exited:
  54.  
  55.     if ((GetSenderID() == 3) && (GetSourceRef() == player)) 
  56.     {
  57.         //print("Jewel is FALSE...");
  58.         JewelFlyingStatus(0, plasma);
  59.     }
  60.  
  61. return;
  62.  
  63. # ........................................................................................
  64. end
  65.  
  66.